/**
 * Created by reeves on 2017/3/13.
 */
Template.layout.onCreated(function () {

});

Template.layout.events({
    'click .btn-backtotop': function (event, template) {
        event.preventDefault();
        $('body,html').animate({
            scrollTop: 0,
        }, 400);
    }
});